<template>
  <input type="text" v-model="name" />
  <input type="text" v-model="age" />
</template>

<script lang="ts">
import {defineComponent, ref} from "vue";

export default defineComponent({
  name: "Child",
  setup(){
    const name = ref('')
    const age = ref(0)
    return {
      name,age
    }
  }
})
</script>

<style scoped>

</style>
